Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic attachments #1466

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

chibenwa
Copy link
Member

@chibenwa chibenwa commented Jan 15, 2025

Very WIP

I need to:

  • Triage those changes locally
  • Needs "benchmarks" - gatling?
  • And indeed to reduce the boiler plate eg by not copying TMailCleverMailboxSessionMapperFactory which makes for halth of the code base added here

See the related James PR

@chibenwa
Copy link
Member Author

Also it would need code reorganisation so that reusable pieces can benefit the PG app, for instance...

@chibenwa
Copy link
Member Author

chibenwa commented Feb 3, 2025

Needs apache/james-project#2622

Local simple perf tests results: a message with 60 attachments.

Before downloading one took ~100 ms
After downloading one took ~40 ms

(knowing this shows only part of the improvment as on the testing S3 data is held in memory)

@chibenwa
Copy link
Member Author

chibenwa commented Feb 3, 2025

TODO

  • Relocate the JMAP code in JMAP packages
  • And I bet merge ?
  • Do not forget to create a backport ticket for PG...

@chibenwa chibenwa marked this pull request as ready for review February 5, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants